package com.qf.oop.extend1;

public class BirdDemo {
    public static void main(String[] args) {
        Bird bird = new Bird();
        bird.sleep();
        bird.eat();
        bird.setSex("公");
        System.out.println(bird.getSex());
    }
}
